package marcus.tree;

public class BinaryNode {
	private BinaryNode leftNode;
	private BinaryNode rightNode;
	private int value;
	
	public BinaryNode(BinaryNode leftNode, BinaryNode rightNode, int value){
		this.leftNode = leftNode;
		this.rightNode = rightNode;
		this.value = value;
	}

	public BinaryNode getLeftNode() {
		return leftNode;
	}

	public BinaryNode getRightNode() {
		return rightNode;
	}

	public int getValue() {
		return value;
	}
	
}
